package com.atlzk.seckill.seckill.service.impl;

import com.atlzk.group.tgou.entity.ResultMsg;
import com.atlzk.seckill.seckill.dao.SeckillDao;
import com.atlzk.seckill.seckill.entity.SeckillEntity;
import com.atlzk.seckill.seckill.entity.SorderEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atlzk.common.utils.PageUtils;
import com.atlzk.common.utils.Query;

import com.atlzk.seckill.seckill.dao.PorderDao;
import com.atlzk.seckill.seckill.entity.PorderEntity;
import com.atlzk.seckill.seckill.service.PorderService;


@Service("porderService")
public class PorderServiceImpl extends ServiceImpl<PorderDao, PorderEntity> implements PorderService {




    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PorderEntity> page = this.page(
                new Query<PorderEntity>().getPage(params),
                new QueryWrapper<PorderEntity>()
        );

        return new PageUtils(page);
    }


}